This little utility copies all of the resources in the Macintosh’s ROM into a file called “ROM Resource Dump File”. This is useful for the insanely curious, those with a professional “need to know” (like DTS engineers), and as a trivial Resource Manager sample.
The supplied source code compiles with Metrowerks Pascal from CodeWarrior 9.
Some notes:
1. When you run this program on some older machines it will create a resource file that ResEdit reports as corrupt. This is not my fault! ResEdit is complaining because the file contains two resources with the same type and ID. The program does this because both resources exist in the ROM on that machine. *sigh*
2. The program makes heavy use of Metrowerks Pascal’s console and the ostrich error checking algorithm. Call me slack (–:
3. Efficiency was not the goal of this program. I call UpdateResFile religiously while creating the output file, which doesn’t make it any faster.
If you find any problems with this stuff, mail <DevSupport@apple.com> with “Attn: Quinn” as the first line of your mail and I’ll try to address them.